package com.marktotop.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * Admin
 *
 * @author WXLD
 * @Data 2021/6/29
 * @Since 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String name;

    private String telephone;

    private String address;

    private Boolean enabled;

    private String username;

    private String password;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date modifyTime;

}
